#include "place.h"

Place::Place(string name, string address, int id):
	name_(name),
	address_(address),
	id_(id),
	rank_(0),
	lat_(0),
	lon_(0)  { }

Place::~Place() { }


void Place::setName(string name) { name_ = name; }
string Place::getName() { return name_; }

void Place::setAddress(string address) { address_ = address; }
string Place::getAddress() { return address_; } 

void Place::setID(int id) { id_ = id; }
int Place::getID() { return id_; }

void Place::setRank(int rank) { rank_ = rank; }
int Place::getRank() { return rank_; }

	
void Place::setCoordinates(double lat, double lon) { lat_ = lat; lon_ = lon; }
double Place::getLat() { return lat_; }
double Place::getLon() { return lon_; }
